package com.black.common.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.List;

/**
 * @author linwenfeng
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DictionaryTreeVo {
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;
    /**代码**/
    private String code;
    /**代码名称**/
    private String name;
    /**代码类型**/
    private String codeType;
    /**排序**/
    private Integer orders;
    /**说明**/
    private String remark;

    private Integer valid;

    private boolean _showChildren;

    private List<DictionaryTreeVo> children = null;
}
